package com.leha.utils.exception;

/**
 * 导出Excel发生的异常
 * @author finalriod
 * @since 1.0
 */
public class ExcelException extends RuntimeException {

    private static final long serialVersionUID = -5735766124603206722L;

    private String message;

    public ExcelException() {
    }

    public ExcelException(String message) {
        this.message = message;
    }

    public ExcelException(Throwable cause){
        this.initCause(cause);
    }

    @Override
    public String getMessage() {
        return message;
    }
}